home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / graphics / gcatwn3a.arj / SETUP.BAT < prev    next >
DOS Batch File  |  1994-01-10  |  3KB  |  75 lines

  1. @REM SETUP.BAT; Graphcat/Windows 3.0
  2. @REM Copyright 1993 Jerry Stern--All Rights Reserved, 12/93
  3. @echo off
  4. cls
  5. if not exist graphwin.doc goto baddir
  6. if not exist graphcat.dll goto baddir
  7. if not exist index.wc5 goto baddir
  8. if "%1"=="" goto info
  9. if "%2"=="" goto info
  10. if not exist %2\*.* goto nomac
  11. if not exist %1\*.* goto new
  12. ECHO Upgrade Installation Graphcat/Windows 3.0 Installation for WPWin 5.2
  13. ECHO Your old graphics and docs from the DOS version will not be replaced.
  14. goto more
  15. :new
  16. ECHO New Installation of Graphcat/Windows 3.0 Installation for WPWin 5.2
  17. :more
  18. ECHO ...
  19. ECHO Files for GRAPHCAT 3.0 for WP/Windows will now be copied:
  20. ECHO Macros and the GRAPHCAT.DLL file will be copied to %2
  21. ECHO A partial set of the instructions and graphics will be copied
  22. ECHO to the directory %1.  You will need about 300K of free space.
  23. ECHO ...
  24. ECHO Press any key to proceed with installation, or Control-C to stop now.
  25. pause > nul
  26. copy graphcat.wc5 %2\graphcat.wcm
  27. copy index.wc5 %2\index.wcm
  28. copy graphcat.dll %2
  29. if not exist %1\*.* md %1
  30. copy *.doc %1\*.*
  31. copy *.wpg %1\*.*
  32. copy printman.bat %1\*.*
  33. copy fileindx.* %1\*.*
  34. copy name.ndx %1\*.*
  35. copy vendinfo.diz %1\*.*
  36. ECHO Done...
  37. ECHO If you haven't already,
  38. ECHO run PRINTMAN.BAT for instructions on printing the manual.
  39. goto end
  40. :nomac
  41. ECHO Graphcat/Windows 3.0 Installation for WPWin 5.2
  42. ECHO The directory that you have chosen to copy the macros and DLL file to
  43. ECHO is empty or doesn't exist. Please check the name, and try again.
  44. goto end
  45. :baddir
  46. ECHO Graphcat/Windows 3.0 Installation for WPWin 5.2
  47. ECHO You must start this installation by logging to the drive and directory
  48. ECHO where the files are currently located. When you run SETUP from that
  49. ECHO directory, it will help you find the correct startup command to
  50. ECHO install your software.
  51. goto end
  52. :info
  53. ECHO Graphcat/Windows 3.0 Installation for WPWin 5.2
  54. ECHO ...
  55. ECHO This batch file is ONLY for use with WPWin 5.2. If you need to install
  56. ECHO Graphcat for WPWin 6.0, run INSTALL.WCM from inside WP, by pressing 
  57. ECHO Macro[Alt-F10], path:\install, and Enter, where path is the current 
  58. ECHO location of the Graphcat files.
  59. ECHO ...
  60. ECHO Start SETUP.BAT with the new directory name to make for
  61. ECHO storing Graphcat instructions and graphics, and the name
  62. ECHO of the macro directory used by WordPerfect 5.2, usually
  63. ECHO c:\wpwin\macros or c:\wpwin.
  64. ECHO ...
  65. ECHO If you don't know where WP/WIN 5.2 keeps your macros,
  66. ECHO choose File, Preferences, Location of Files, and write
  67. ECHO down the entry under "Macros/Keyboards/Button Bars" and
  68. ECHO enter it from the DOS prompt. (Press Escape to return to
  69. ECHO the document screen.)
  70. ECHO ...
  71. ECHO For example: 
  72. ECHO SETUP c:\graphcat c:\wpwin\macros
  73. ECHO (Copies package to c:\graphcat, using c:\wpwin\macros for macros.)
  74. :end
  75. PAUSE